package com.ast;

import java.util.List;

public class ConstDeclNode {
    BtypeNode type;
    List<ConstDefNode> constdef;
    public ConstDeclNode(BtypeNode type) {
        this.type = type;
    }
    public ConstDeclNode(BtypeNode type ,List<ConstDefNode> constdef) {
        this.type = type;
        this.constdef = constdef;
    }

    public BtypeNode getType() {
        return type;
    }

    public List<ConstDefNode> getConstdef() {
        return constdef;
    }
}
